using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_SPELLLOGMISS_DEF : DefinitionBase
    {

        public override bool Process()
        {
            ResetPosition();

            UInt32 spellID = ReadUInt32();
            UInt64 guid = ReadUInt64();
            byte unk = ReadByte();                                       // can be 0 or 1
            UInt32 count = ReadUInt32();                                      // target count
            // for(i = 0; i < target count; ++i)
            UInt64 targetguid = ReadUInt64();                    // target GUID
            byte missInfo = ReadByte();
            SpellMissInfo spellMissInfo = (SpellMissInfo)missInfo;
            // end loop

            return Validate();
        }
    }
}

